Skip to content

Bump drizzle-orm from 0.27.2 to 0.29.1#25

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/drizzle-orm-0.29.1
Closed

Bump drizzle-orm from 0.27.2 to 0.29.1#25
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/drizzle-orm-0.29.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Dec 4, 2023

Bumps drizzle-orm from 0.27.2 to 0.29.1.

Release notes

Sourced from drizzle-orm's releases.

0.29.1

Fixes

New Features/Helpers

🎉 Detailed JSDoc for all query builders in all dialects - thanks @​realmikesolo

You can now access more information, hints, documentation links, etc. while developing and using JSDoc right in your IDE. Previously, we had them only for filter expressions, but now you can see them for all parts of the Drizzle query builder

🎉 New helpers for aggregate functions in SQL - thanks @​L-Mario564

Remember, aggregation functions are often used with the GROUP BY clause of the SELECT statement. So if you are selecting using aggregating functions and other columns in one query, be sure to use the .groupBy clause

Here is a list of functions and equivalent using sql template

count

await db.select({ value: count() }).from(users);
await db.select({ value: count(users.id) }).from(users);
// It's equivalent to writing
await db.select({
value: sqlcount('*')).mapWith(Number)
}).from(users);
await db.select({
value: sqlcount(${users.id}).mapWith(Number)
}).from(users);

countDistinct

await db.select({ value: countDistinct(users.id) }).from(users);
// It's equivalent to writing
await db.select({
value: sqlcount(${users.id}).mapWith(Number)
}).from(users);

avg

await db.select({ value: avg(users.id) }).from(users);
// It's equivalent to writing
await db.select({
value: sqlavg(${users.id}).mapWith(String)
</tr></table>

... (truncated)

Commits
  • 68bd2c3 Merge pull request #1577 from drizzle-team/beta
  • e78b53e Add JsDoc info
  • 758723b Bump drizzle-orm and eslint-plugin versions
  • 89a2300 Merge pull request #1514 from Angelelz/feat-eslint-plugin
  • 1edfc39 Merge branch 'beta' into feat-eslint-plugin
  • 44e2467 Merge pull request #1536 from Angelelz/fix-with-recursive-args
  • 2d1807a Merge branch 'beta' into feat-eslint-plugin
  • 333bedf Merge branch 'beta' into feat-eslint-plugin
  • 26175d2 Merge branch 'beta' into fix-with-recursive-args
  • dfc7442 fix types
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [drizzle-orm](https://github.com/drizzle-team/drizzle-orm) from 0.27.2 to 0.29.1.
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](drizzle-team/drizzle-orm@0.27.2...0.29.1)

---
updated-dependencies:
- dependency-name: drizzle-orm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 4, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 1, 2024

Superseded by #31.

@dependabot dependabot bot closed this Jan 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/drizzle-orm-0.29.1 branch January 1, 2024 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants